package controllor.smartblog.org;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.smartblog.core.annotation.Router;

/**
 * Create Date:2013-12-4
 * @author wanghx
 */
@Router
public class Index {

	public void index(HttpServletRequest request,HttpServletResponse response){
		try {
			request.getRequestDispatcher("/index.html").forward(request, response);
		} catch (ServletException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
}
